import type { RouteRecordRaw } from 'vue-router'

const Home = () => import('@/page/mobile/index.vue')
const Assistant = () => import('@/page/mobile/Assistant.vue')

export const mobileRoutes: RouteRecordRaw[] = [
  {
    path: '/',
    redirect: '/home',
  },
  {
    path: '/home',
    name: 'home',
    component: Home,
    meta: { transition: 'slide-left' },
  },
  {
    path: '/assistant/:id',
    name: 'assistant',
    meta: { transition: 'slide-right' },
    component: Assistant,
  },
]
